﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace TowerDefense
{
    public abstract class Entity
    {
        public string Name
        {
            get;
            set;
        }

        public bool Visible
        {
            get;
            set;
        }

        public Vector2 Position
        {
            get;
            set;
        }

        public Texture2D Texture
        {
            get;
            set;
        }

        public abstract void Update(GameTime gameTime);
        /// <summary>
        /// Clones the entity
        /// </summary>
        public abstract Entity Clone();

        public abstract void Draw(SpriteBatch spriteBatch);
    }
}
